package org.example.day20240822.moiveex;

public class ScareMovie extends Movie{
    public ScareMovie(String title) {
        super(title);
    }

    @Override
    public double getFee(int rent_days) {
        double fee = 2.5;
        if(rent_days > 3){
            fee += (rent_days - 3) * 1;
        }
        return fee;
    }

    @Override
    public int getScore(int rent_days) {
        return rent_days*2;
    }
}
